#include <stdio.h>

void max_heapify_test()
{
	int A[] = {16,4,10,14,7,9,3,2,8,1};
	max_heapify(A,1,10);
	print(A,10);
}

void build_max_heap_test()
{
	int A[] = {4,1,3,2,16,9,10,14,8,7};
	build_max_heap(A,10);
	print(A,10);
}

void heap_sort_test()
{
	int A[] = {4,1,3,2,16,9,10,14,8,7};	
	heap_sort(A,10);
	print(A,10);
}

int main()
{
	//max_heapify_test();
	//build_max_heap_test();
	heap_sort_test();
}